.tab-change {
  display: flex;
  flex-direction: column;
  &-tab {
    position: relative;
    overflow: hidden;
    &-box {
      overflow-x: auto;
      width: 100%;
      display: flex;
      padding: 0 32rpx 0;

      &-itemtab {
        display: flex;
        align-items: center;
        height: 92rpx;
        margin-right: 60rpx;
        font-family: PingFangSC-Regular;
        font-size: 28rpx;
        color: rgba(0, 0, 0, 0.65);
        text-align: center;
        line-height: 44rpx;
        font-weight: 400;
        max-width: 150rpx;

        &-text {
          width: 100%;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
      &-selectedtab {
        color: #0840f8;
        position: relative;
        &:after {
          position: absolute;
          bottom: 14rpx;
          left: 50%;
          background: #0840f8;
          transform: translateX(-50%);
          content: '';
          height: 6rpx;
          width: 40rpx;
        }
      }

      &-itemcard {
        padding: 8rpx 16rpx;
        display: flex;
        align-items: center;
        font-family: PingFangSC-Regular;
        font-size: 24rpx;
        color: #595959;
        letter-spacing: 0;
        line-height: 40px;
        font-weight: 400;
        text-align: center;
        font-weight: 400;
        max-width: 150rpx;
        margin-right: 32rpx;

        &-text {
          width: 100%;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }

      &-selectedcard {
        background: #ebf0fb;
        border-radius: 4rpx;
        font-family: PingFangSC-Regular;
        font-size: 24rpx;
        color: #0840f8;
        letter-spacing: 0;
        line-height: 32rpx;
        font-weight: 400;
      }
    }

    &-shadow {
      position: absolute;
      top: -8rpx;
      right: 0;
      height: 100%;
      width: 62rpx;
      opacity: 0.95;
      transform: rotate(-90deg);
      background-image: linear-gradient(
        0deg,
        #ffffff 4%,
        #ffffff 53%,
        rgba(255, 255, 255, 0) 100%
      );
    }
  }
}
